JchOptimize\Core\Html\LinkBuilder A

Total Complexity 72
Dependencies 19
Dependents 2
Total lines 472
Lines of code 264
Logical lines of code 135
Comment lines 98
Methods 24
Properties 8

Methods 24

Method Rating Maintainability Complexity Lines of code
preProcessHtml()
A
47 12 37
buildUrl()
A
47 10 35
replaceLinks()
A
47 8 33
createStaticFiles()
S
53 6 22
getAsyncAttribute()
S
62 4 11
loadCssAsync()
S
58 3 16
isGZ()
S
73 4 4
addPreConnects()
S
69 3 7
addDeferredJs()
S
59 2 15
cleanScript()
S
62 2 12
__construct()
S
63 2 11
appendChildToHead()
S
64 2 9
addCriticalCssToHead()
S
67 2 7
appendAsyncScriptsToHead()
S
70 2 7
setImgAttributes()
S
74 1 4
appendChildToHTML()
S
70 1 5
addExcludedJsToSection()
S
69 1 6
appendOptimizedFontsToHead()
S
81 1 3
isXhtml()
S
78 1 3
appendCriticalJsToHtml()
S
75 1 4
optimizeGFonts()
S
78 1 3
prependChildToHead()
S
73 1 4
getNewCssLink()
S
80 1 3
getNewJsLink()
S
80 1 3